<?php

namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;

class HeaderExport implements FromCollection
{

    protected $collect;
    public function __construct($collect)
    {
        $this->collect = $collect;
    }

    /**
    * @return \Illuminate\Support\Collection
    */
    public function collection()
    {
        return $this->collect;
    }
}
